package com.tb.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderItemIdIsNull() {
            addCriterion("order_item_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderItemIdIsNotNull() {
            addCriterion("order_item_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderItemIdEqualTo(Integer value) {
            addCriterion("order_item_id =", value, "orderItemId");
            return (Criteria) this;
        }

        public Criteria andOrderItemIdNotEqualTo(Integer value) {
            addCriterion("order_item_id <>", value, "orderItemId");
            return (Criteria) this;
        }

        public Criteria andOrderItemIdGreaterThan(Integer value) {
            addCriterion("order_item_id >", value, "orderItemId");
            return (Criteria) this;
        }

        public Criteria andOrderItemIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_item_id >=", value, "orderItemId");
            return (Criteria) this;
        }

        public Criteria andOrderItemIdLessThan(Integer value) {
            addCriterion("order_item_id <", value, "orderItemId");
            return (Criteria) this;
        }

        public Criteria andOrderItemIdLessThanOrEqualTo(Integer value) {
            addCriterion("order_item_id <=", value, "orderItemId");
            return (Criteria) this;
        }

        public Criteria andOrderItemIdIn(List<Integer> values) {
            addCriterion("order_item_id in", values, "orderItemId");
            return (Criteria) this;
        }

        public Criteria andOrderItemIdNotIn(List<Integer> values) {
            addCriterion("order_item_id not in", values, "orderItemId");
            return (Criteria) this;
        }

        public Criteria andOrderItemIdBetween(Integer value1, Integer value2) {
            addCriterion("order_item_id between", value1, value2, "orderItemId");
            return (Criteria) this;
        }

        public Criteria andOrderItemIdNotBetween(Integer value1, Integer value2) {
            addCriterion("order_item_id not between", value1, value2, "orderItemId");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceIsNull() {
            addCriterion("send_address_province is null");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceIsNotNull() {
            addCriterion("send_address_province is not null");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceEqualTo(String value) {
            addCriterion("send_address_province =", value, "sendAddressProvince");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceNotEqualTo(String value) {
            addCriterion("send_address_province <>", value, "sendAddressProvince");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceGreaterThan(String value) {
            addCriterion("send_address_province >", value, "sendAddressProvince");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("send_address_province >=", value, "sendAddressProvince");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceLessThan(String value) {
            addCriterion("send_address_province <", value, "sendAddressProvince");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceLessThanOrEqualTo(String value) {
            addCriterion("send_address_province <=", value, "sendAddressProvince");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceLike(String value) {
            addCriterion("send_address_province like", value, "sendAddressProvince");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceNotLike(String value) {
            addCriterion("send_address_province not like", value, "sendAddressProvince");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceIn(List<String> values) {
            addCriterion("send_address_province in", values, "sendAddressProvince");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceNotIn(List<String> values) {
            addCriterion("send_address_province not in", values, "sendAddressProvince");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceBetween(String value1, String value2) {
            addCriterion("send_address_province between", value1, value2, "sendAddressProvince");
            return (Criteria) this;
        }

        public Criteria andSendAddressProvinceNotBetween(String value1, String value2) {
            addCriterion("send_address_province not between", value1, value2, "sendAddressProvince");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityIsNull() {
            addCriterion("send_address_city is null");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityIsNotNull() {
            addCriterion("send_address_city is not null");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityEqualTo(String value) {
            addCriterion("send_address_city =", value, "sendAddressCity");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityNotEqualTo(String value) {
            addCriterion("send_address_city <>", value, "sendAddressCity");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityGreaterThan(String value) {
            addCriterion("send_address_city >", value, "sendAddressCity");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityGreaterThanOrEqualTo(String value) {
            addCriterion("send_address_city >=", value, "sendAddressCity");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityLessThan(String value) {
            addCriterion("send_address_city <", value, "sendAddressCity");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityLessThanOrEqualTo(String value) {
            addCriterion("send_address_city <=", value, "sendAddressCity");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityLike(String value) {
            addCriterion("send_address_city like", value, "sendAddressCity");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityNotLike(String value) {
            addCriterion("send_address_city not like", value, "sendAddressCity");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityIn(List<String> values) {
            addCriterion("send_address_city in", values, "sendAddressCity");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityNotIn(List<String> values) {
            addCriterion("send_address_city not in", values, "sendAddressCity");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityBetween(String value1, String value2) {
            addCriterion("send_address_city between", value1, value2, "sendAddressCity");
            return (Criteria) this;
        }

        public Criteria andSendAddressCityNotBetween(String value1, String value2) {
            addCriterion("send_address_city not between", value1, value2, "sendAddressCity");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaIsNull() {
            addCriterion("send_address_area is null");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaIsNotNull() {
            addCriterion("send_address_area is not null");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaEqualTo(String value) {
            addCriterion("send_address_area =", value, "sendAddressArea");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaNotEqualTo(String value) {
            addCriterion("send_address_area <>", value, "sendAddressArea");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaGreaterThan(String value) {
            addCriterion("send_address_area >", value, "sendAddressArea");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaGreaterThanOrEqualTo(String value) {
            addCriterion("send_address_area >=", value, "sendAddressArea");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaLessThan(String value) {
            addCriterion("send_address_area <", value, "sendAddressArea");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaLessThanOrEqualTo(String value) {
            addCriterion("send_address_area <=", value, "sendAddressArea");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaLike(String value) {
            addCriterion("send_address_area like", value, "sendAddressArea");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaNotLike(String value) {
            addCriterion("send_address_area not like", value, "sendAddressArea");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaIn(List<String> values) {
            addCriterion("send_address_area in", values, "sendAddressArea");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaNotIn(List<String> values) {
            addCriterion("send_address_area not in", values, "sendAddressArea");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaBetween(String value1, String value2) {
            addCriterion("send_address_area between", value1, value2, "sendAddressArea");
            return (Criteria) this;
        }

        public Criteria andSendAddressAreaNotBetween(String value1, String value2) {
            addCriterion("send_address_area not between", value1, value2, "sendAddressArea");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetIsNull() {
            addCriterion("send_address_street is null");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetIsNotNull() {
            addCriterion("send_address_street is not null");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetEqualTo(String value) {
            addCriterion("send_address_street =", value, "sendAddressStreet");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetNotEqualTo(String value) {
            addCriterion("send_address_street <>", value, "sendAddressStreet");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetGreaterThan(String value) {
            addCriterion("send_address_street >", value, "sendAddressStreet");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetGreaterThanOrEqualTo(String value) {
            addCriterion("send_address_street >=", value, "sendAddressStreet");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetLessThan(String value) {
            addCriterion("send_address_street <", value, "sendAddressStreet");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetLessThanOrEqualTo(String value) {
            addCriterion("send_address_street <=", value, "sendAddressStreet");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetLike(String value) {
            addCriterion("send_address_street like", value, "sendAddressStreet");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetNotLike(String value) {
            addCriterion("send_address_street not like", value, "sendAddressStreet");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetIn(List<String> values) {
            addCriterion("send_address_street in", values, "sendAddressStreet");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetNotIn(List<String> values) {
            addCriterion("send_address_street not in", values, "sendAddressStreet");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetBetween(String value1, String value2) {
            addCriterion("send_address_street between", value1, value2, "sendAddressStreet");
            return (Criteria) this;
        }

        public Criteria andSendAddressStreetNotBetween(String value1, String value2) {
            addCriterion("send_address_street not between", value1, value2, "sendAddressStreet");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneIsNull() {
            addCriterion("recive_phone is null");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneIsNotNull() {
            addCriterion("recive_phone is not null");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneEqualTo(String value) {
            addCriterion("recive_phone =", value, "recivePhone");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneNotEqualTo(String value) {
            addCriterion("recive_phone <>", value, "recivePhone");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneGreaterThan(String value) {
            addCriterion("recive_phone >", value, "recivePhone");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneGreaterThanOrEqualTo(String value) {
            addCriterion("recive_phone >=", value, "recivePhone");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneLessThan(String value) {
            addCriterion("recive_phone <", value, "recivePhone");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneLessThanOrEqualTo(String value) {
            addCriterion("recive_phone <=", value, "recivePhone");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneLike(String value) {
            addCriterion("recive_phone like", value, "recivePhone");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneNotLike(String value) {
            addCriterion("recive_phone not like", value, "recivePhone");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneIn(List<String> values) {
            addCriterion("recive_phone in", values, "recivePhone");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneNotIn(List<String> values) {
            addCriterion("recive_phone not in", values, "recivePhone");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneBetween(String value1, String value2) {
            addCriterion("recive_phone between", value1, value2, "recivePhone");
            return (Criteria) this;
        }

        public Criteria andRecivePhoneNotBetween(String value1, String value2) {
            addCriterion("recive_phone not between", value1, value2, "recivePhone");
            return (Criteria) this;
        }

        public Criteria andOrderNameIsNull() {
            addCriterion("order_name is null");
            return (Criteria) this;
        }

        public Criteria andOrderNameIsNotNull() {
            addCriterion("order_name is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNameEqualTo(String value) {
            addCriterion("order_name =", value, "orderName");
            return (Criteria) this;
        }

        public Criteria andOrderNameNotEqualTo(String value) {
            addCriterion("order_name <>", value, "orderName");
            return (Criteria) this;
        }

        public Criteria andOrderNameGreaterThan(String value) {
            addCriterion("order_name >", value, "orderName");
            return (Criteria) this;
        }

        public Criteria andOrderNameGreaterThanOrEqualTo(String value) {
            addCriterion("order_name >=", value, "orderName");
            return (Criteria) this;
        }

        public Criteria andOrderNameLessThan(String value) {
            addCriterion("order_name <", value, "orderName");
            return (Criteria) this;
        }

        public Criteria andOrderNameLessThanOrEqualTo(String value) {
            addCriterion("order_name <=", value, "orderName");
            return (Criteria) this;
        }

        public Criteria andOrderNameLike(String value) {
            addCriterion("order_name like", value, "orderName");
            return (Criteria) this;
        }

        public Criteria andOrderNameNotLike(String value) {
            addCriterion("order_name not like", value, "orderName");
            return (Criteria) this;
        }

        public Criteria andOrderNameIn(List<String> values) {
            addCriterion("order_name in", values, "orderName");
            return (Criteria) this;
        }

        public Criteria andOrderNameNotIn(List<String> values) {
            addCriterion("order_name not in", values, "orderName");
            return (Criteria) this;
        }

        public Criteria andOrderNameBetween(String value1, String value2) {
            addCriterion("order_name between", value1, value2, "orderName");
            return (Criteria) this;
        }

        public Criteria andOrderNameNotBetween(String value1, String value2) {
            addCriterion("order_name not between", value1, value2, "orderName");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNull() {
            addCriterion("order_status is null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNotNull() {
            addCriterion("order_status is not null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusEqualTo(Integer value) {
            addCriterion("order_status =", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotEqualTo(Integer value) {
            addCriterion("order_status <>", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThan(Integer value) {
            addCriterion("order_status >", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_status >=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThan(Integer value) {
            addCriterion("order_status <", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThanOrEqualTo(Integer value) {
            addCriterion("order_status <=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIn(List<Integer> values) {
            addCriterion("order_status in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotIn(List<Integer> values) {
            addCriterion("order_status not in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusBetween(Integer value1, Integer value2) {
            addCriterion("order_status between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("order_status not between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderTotalPriceIsNull() {
            addCriterion("order_total_price is null");
            return (Criteria) this;
        }

        public Criteria andOrderTotalPriceIsNotNull() {
            addCriterion("order_total_price is not null");
            return (Criteria) this;
        }

        public Criteria andOrderTotalPriceEqualTo(Float value) {
            addCriterion("order_total_price =", value, "orderTotalPrice");
            return (Criteria) this;
        }

        public Criteria andOrderTotalPriceNotEqualTo(Float value) {
            addCriterion("order_total_price <>", value, "orderTotalPrice");
            return (Criteria) this;
        }

        public Criteria andOrderTotalPriceGreaterThan(Float value) {
            addCriterion("order_total_price >", value, "orderTotalPrice");
            return (Criteria) this;
        }

        public Criteria andOrderTotalPriceGreaterThanOrEqualTo(Float value) {
            addCriterion("order_total_price >=", value, "orderTotalPrice");
            return (Criteria) this;
        }

        public Criteria andOrderTotalPriceLessThan(Float value) {
            addCriterion("order_total_price <", value, "orderTotalPrice");
            return (Criteria) this;
        }

        public Criteria andOrderTotalPriceLessThanOrEqualTo(Float value) {
            addCriterion("order_total_price <=", value, "orderTotalPrice");
            return (Criteria) this;
        }

        public Criteria andOrderTotalPriceIn(List<Float> values) {
            addCriterion("order_total_price in", values, "orderTotalPrice");
            return (Criteria) this;
        }

        public Criteria andOrderTotalPriceNotIn(List<Float> values) {
            addCriterion("order_total_price not in", values, "orderTotalPrice");
            return (Criteria) this;
        }

        public Criteria andOrderTotalPriceBetween(Float value1, Float value2) {
            addCriterion("order_total_price between", value1, value2, "orderTotalPrice");
            return (Criteria) this;
        }

        public Criteria andOrderTotalPriceNotBetween(Float value1, Float value2) {
            addCriterion("order_total_price not between", value1, value2, "orderTotalPrice");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIsNull() {
            addCriterion("order_time is null");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIsNotNull() {
            addCriterion("order_time is not null");
            return (Criteria) this;
        }

        public Criteria andOrderTimeEqualTo(Date value) {
            addCriterion("order_time =", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotEqualTo(Date value) {
            addCriterion("order_time <>", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeGreaterThan(Date value) {
            addCriterion("order_time >", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("order_time >=", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeLessThan(Date value) {
            addCriterion("order_time <", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeLessThanOrEqualTo(Date value) {
            addCriterion("order_time <=", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIn(List<Date> values) {
            addCriterion("order_time in", values, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotIn(List<Date> values) {
            addCriterion("order_time not in", values, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeBetween(Date value1, Date value2) {
            addCriterion("order_time between", value1, value2, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotBetween(Date value1, Date value2) {
            addCriterion("order_time not between", value1, value2, "orderTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}